The "bump against monitor edge" thing can't work when there's a monitor
adjacent to the current one, so just disable the gesture in case there's
more than a single monitor.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2581>
}
_dragMaybeSwitchPageImmediately(dragEvent) {
+ // When there's an adjacent monitor, this gesture conflicts with
+ // dragging to the adjacent monitor, so disable in multi-monitor setups
+ if (Main.layoutManager.monitors.length > 1)
+ return false;
+
// Already animating
if (this._adjustment.get_transition('value') !== null)
return false;